home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 198 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Why does a compiled program fail on another machine?
  5. Date: 3 Jan 1996 06:39:37 GMT
  6. Organization: Kalevi, Inc
  7. Message-ID: <4cd8b9$aor@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe4.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Jan 03, 1996 02:06:46 in article <Why does a compiled program fail on
  15. another machine?>, 'Douglas John Standen <John@metsys.demon.co.uk>' wrote: 
  16.  
  17.  
  18. >Having written and run a quite complex program, I find that it 
  19. >works perfectly on my 386/22 every time, but fails on my friends 
  20. >486 with acos domain error. 
  21.  
  22. Don't know what an "acos domain" error is -- but I do know it has 
  23. nothing to do with the C language.  Sounds like an OS or network 
  24. error. 
  25. >Is there any good reason why a C compiled program will always run 
  26. >on its host machine but cause a problem on a non host, if so how 
  27. >does one locate and correct such an error? Apart from compile it 
  28. >on the non host machine! 
  29. If some TSR's (assuming DOS) is resident on one machine but 
  30. not on the other, that could cause it.  Your first step is to find 
  31. out what the error message means and who is sending it -- it's 
  32. not coming from DOS. 
  33. -- 
  34.  
  35. Pete 
  36.  
  37.  
  38.  
  39.  
  40.  
  41.